<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">


    <title>文章中心</title>
    <{include file="article/public/client_header"/}>
    <style>
        .title .more a {
            padding: 8px;
            display: inline-block;
            margin-left: 0;
            color: #1c35f3;
            background-size: 22px;
            background: #dbf6ff;
        }
        .title .more{
            display: block !important;
        }
        .pagination ul > li {
            display:inline-block !important;
        }
        .cart {
            width: 40px;
            height: 40px;
            position: fixed;
            bottom: 200px;
            right: 16px;
            border-radius: 50%;
            /* background: red;*/
        }
        .cart-nav>img{
            max-width: 100%;
        }
        .buy-remark{
            color: green;
        }

    </style>
</head>
<body class="user-select">
<!--<header class="header">
    <{include file="article/public/client_nav"/}>
</header>-->
<section class="container">
    <div class="content-wrap">
        <form class="navbar-form" action="<{:url()}>" method="get">
            <div class="input-group">
                <input type="text" name="keyword" class="form-control" size="35" placeholder="请输入关键字" maxlength="15" autocomplete="off">
                <span class="input-group-btn"><button class="btn btn-default btn-search" name="search" type="submit">搜索</button></span>
            </div>
        </form>
        <div class="content">
            <{if !empty($bannerTotal)}>
            <div id="focusslide" class="carousel slide" data-ride="carousel">
                <ol class="carousel-indicators">
                    {for start='0' end='$bannerTotal'}
                    <li data-target="#focusslide" data-slide-to="{$i}"></li>
                    {/for}
                </ol>
                <div class="carousel-inner" role="listbox">
                    {foreach $banner as $k=> $item}
                    <div class="item {$k==0?'active':''}">
                        <a href="{$item.url}" target="_blank"
                           title="{$item.title}">
                            <img src="{$item.img}" alt="{$item.title}"
                                 class="img-responsive">
                        </a>
                    </div>
                    {/foreach}

                </div>
                <a class="left carousel-control" href="/static/blog/#focusslide" role="button"
                   data-slide="prev" rel="nofollow">
                    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                    <span class="sr-only">上一个</span>
                </a>

                <a class="right carousel-control" href="/static/blog/#focusslide" role="button"
                   data-slide="next" rel="nofollow">
                    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                    <span class="sr-only">下一个</span>
                </a>
            </div>
            <{/if}>


            <div class="title">
                <!--<h3>最新发布</h3>-->
                <div class="more">
                    <a class="btn info " href="<{:url()}>" title="全部分类" >全部</a>
                    <{if !empty($category)}>
                    <{foreach $category as $item}>
                    <a class="btn info " href="<{:url(null,['cid'=>$item.id])}>" title="<{$item.name}>" ><{$item.name}></a>
                    <{/foreach}>
                    <{/if}>
                </div>
            </div>



           <{if !empty($data)}>
            <{foreach $data as $item}>
            <article class="excerpt excerpt-1" style="">
                <header>
                    <a class="cat" href="{:url(null,['cid'=>$item.category_id])}" title="" >
                        <{$item.category_name}>
                    </a>

                    <h2>
                        <a href="<{:url('/plugin/article.client/detail',['apath'=>$item.aid])}>" title="<{$item.title}>" >
                            <{$item.title}>
                        </a>
                    </h2>
                </header>
                <p class="meta">
                    <time class="time">
                        <i class="glyphicon glyphicon-time"></i>
                        <{$item.add_time|date='Y-m-d',###}>
                    </time>
                    <span title="浏览" class="views">
                        <i class="glyphicon glyphicon-eye-open"></i>
                        <{$item.count_view}>
                    </span>
                    <{if !empty($item.buy_status)}>
                    <span title="已购" class="buy-remark">
                        <i class="glyphicon glyphicon-check"></i>
                    </span>
                    <{/if}>

                </p>

            </article>
            <{/foreach}>
            <{/if}>


            <nav class="pagination" style="display: block;">
                <{$page?$page->render():''}>
            </nav>
        </div>
    </div>
    <aside class="sidebar">
        <div class="fixed">

        </div>

        <div class="widget widget_hot">
            <h3>热文列表</h3>
            <ul>
                <{if !empty($hot_data)}>
                <{foreach $hot_data as $blog}>
                <li>
                    <a title="<{$blog.title}>" href="<{:url('/plugin/article.client/detail',['apath'=>$blog.aid])}>">

                        <span class="text"></span>
                        <span class="muted"><i class="glyphicon glyphicon-time"></i><{$blog.add_time|date='Y-m-d',###}></span>
                        <span class="muted"><i class="glyphicon glyphicon-eye-open"></i><{$blog.count_view}></span>
                        <br>
                        <{$blog.title}>
                    </a>
                </li>
                <{/foreach}>
                <{/if}>


            </ul>
        </div>


        <div class="widget widget_sentence">
            <h3>友情链接</h3>

            <div class="widget-sentence-link">
                <a href="https://demo.bs.shop.alipay168.top" title="bs_shop商城" target="_blank" >bs_shop商城</a>&nbsp;&nbsp;&nbsp;
            </div>



        </div>
    </aside>
</section>

<div class="cart">
    <a href="<{:url(null,['from'=>'buy'])}>" class="cart-nav"><img src="/static/plugins/article/img/icon-buy.png" alt=""></a>
</div>
<footer class="footer">
    <div class="container">
        <p>Copyright &copy; 2022 wei1.top All rights reserved.<a target="_blank" href="http://www.wei1.top">&copy;杂草猿工记</a></p>
        <div class="siteInfo text-center">
            <div class="siteInfo" ><a href="https://beian.miit.gov.cn/" target="b_link">桂ICP备16004757号-3</a></div>

            <div class="siteInfo" ><img src="http://www.gazxfz.gov.cn/content/images/ba.png" alt="" /><a href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=45042102000009" rel="nofllow">桂公网安备 45042102000009号</a></div>
        </div>
    </div>
    <div id="gotop"><a class="gotop"></a></div>
</footer>
<script src="/static/plugins/article/js/bootstrap.min.jss"></script>
<script src="/static/plugins/article/js/jquery.ias.js"></script>
<script src="/static/plugins/article/js/scripts.js"></script>

</body>
</html>
